﻿namespace OutLook.Model.Domains
{
    using System.Collections.Generic;
    using System.Runtime.Serialization;

    [DataContract]
    public class ElementsModel
    {
        #region Constructors

        /// <summary>
        /// Initializes new instance of ElementsDistribution
        /// </summary>
        /// <param name="elementsDistributionList"></param>
        public ElementsModel(List<ElementModel> elementsModelList)
        {
            ElementsModelList = new List<ElementModel>();
            ElementsModelList = elementsModelList;
        }

        #endregion

        #region Properties

        /// <summary>
        /// List of elements distribution for all chemical combinations which are possible in load
        /// </summary>
        [DataMember(Order = 1)]
        public List<ElementModel> ElementsModelList { get; set; }

        #endregion
    }
}
